/* 
 * v1.1 by tonydon site:txdnet.cn
 * netbeansIDE 7.1
 */


function out_infotype(){
var a=[];
a.push('<select name="infotype" id="infotype" tabindex="8">');
a.push('<option value=""></option>');
a.push('<option value="0">0-普通文章</option>');
a.push('<option value="1">1-图片文章</option>');
a.push('<option value="2">2-外链跳转</option>');
a.push('<option value="3">3-视频文章</option>');
a.push('<option value="4">4-下载资源</option>');
a.push('<option value="5">5-专题页面</option></select>');
document.writeln(a.join(''));
};

function out_tflag(){
var a=[];
a.push('<select name="tflag" id="tflag" style="width:100px;">')
a.push('<option value=""></option>');
a.push('<option value="0">0-正常 </option>');
a.push('<option value="1">1-new </option>');
a.push('<option value="2">2-hot </option></select>');
document.writeln(a.join(''));   
};

function getInfoType(k){
    var t={'0':'普','1':'<span style="color:blue;">图</span>','2':'<span style="color:#FF2800;">链接</span>','3':'视频','4':'<span style="color:#36C13F;">下载</span>','5':'<span style="color:red;">专题</span>'};
    return t[k];
};

function getTitleFlag(k){
    var t={'0':'正常','1':'<span style="color:blue;">New~</span>','2':'<span style="color:red;">Hot~</span>'};
    return t[k];
};




